package com.hongkzh.www.look.model.bean;

import java.util.List;

/**
 * Created by as on 2018/4/8.
 *  观看历史记录的Bean类
 */

public class HistoryBean {


    /**
     * msg :
     * code : 0
     * data : {"totalRow":13,"pageNumber":1,"lastPage":false,"firstPage":true,"totalPage":3,"pageSize":6,"list":[{"uid":"1","headImg":"http://47.95.5.235:8081/userfiles/1/files/hkMediaAdv/2018/03/18.png","name":"1","id":"1","coverImgSrc":"http://47.95.5.235:8081/userfiles/1/files/hkCityAdv/2018/03/54.png","title":"城市","type":"3","createDate":"2018-03-20"},{"uid":"1","headImg":"http://47.95.5.235:8081/userfiles/1/files/hkMediaAdv/2018/03/18.png","name":"1","id":"10","coverImgSrc":"http://47.95.5.235:8081/userfiles/1/files/hkCityAdv/2018/03/54.png","title":"自媒体 123","type":"1","createDate":"2018-03-29"},{"uid":"1","headImg":"http://47.95.5.235:8081/userfiles/1/files/hkMediaAdv/2018/03/18.png","name":"1","id":"11","coverImgSrc":"http://47.95.5.235:8081/userfiles/1/files/hkCityAdv/2018/03/54.png","title":"北京","type":"3","createDate":"2018-04-04"},{"uid":"1","headImg":"http://47.95.5.235:8081/userfiles/1/files/hkMediaAdv/2018/03/18.png","name":"1","id":"12","coverImgSrc":"http://47.95.5.235:8081/userfiles/1/files/hkCityAdv/2018/03/54.png","title":"3","type":"1","createDate":"2018-03-29"},{"uid":"1","headImg":"http://47.95.5.235:8081/userfiles/1/files/hkMediaAdv/2018/03/18.png","name":"1","id":"13","coverImgSrc":"http://47.95.5.235:8081/userfiles/1/files/hkCityAdv/2018/03/54.png","title":"666666","type":"2","createDate":"2018-03-30"},{"uid":"1","headImg":"http://47.95.5.235:8081/userfiles/1/files/hkMediaAdv/2018/03/18.png","name":"1","id":"2","coverImgSrc":"","title":"传统","type":"4","createDate":"2018-03-20"}]}
     */

    private String msg;
    private int code;
    private DataBean data;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * totalRow : 13
         * pageNumber : 1
         * lastPage : false
         * firstPage : true
         * totalPage : 3
         * pageSize : 6
         * list : [{"uid":"1","headImg":"http://47.95.5.235:8081/userfiles/1/files/hkMediaAdv/2018/03/18.png","name":"1","id":"1","coverImgSrc":"http://47.95.5.235:8081/userfiles/1/files/hkCityAdv/2018/03/54.png","title":"城市","type":"3","createDate":"2018-03-20"},{"uid":"1","headImg":"http://47.95.5.235:8081/userfiles/1/files/hkMediaAdv/2018/03/18.png","name":"1","id":"10","coverImgSrc":"http://47.95.5.235:8081/userfiles/1/files/hkCityAdv/2018/03/54.png","title":"自媒体 123","type":"1","createDate":"2018-03-29"},{"uid":"1","headImg":"http://47.95.5.235:8081/userfiles/1/files/hkMediaAdv/2018/03/18.png","name":"1","id":"11","coverImgSrc":"http://47.95.5.235:8081/userfiles/1/files/hkCityAdv/2018/03/54.png","title":"北京","type":"3","createDate":"2018-04-04"},{"uid":"1","headImg":"http://47.95.5.235:8081/userfiles/1/files/hkMediaAdv/2018/03/18.png","name":"1","id":"12","coverImgSrc":"http://47.95.5.235:8081/userfiles/1/files/hkCityAdv/2018/03/54.png","title":"3","type":"1","createDate":"2018-03-29"},{"uid":"1","headImg":"http://47.95.5.235:8081/userfiles/1/files/hkMediaAdv/2018/03/18.png","name":"1","id":"13","coverImgSrc":"http://47.95.5.235:8081/userfiles/1/files/hkCityAdv/2018/03/54.png","title":"666666","type":"2","createDate":"2018-03-30"},{"uid":"1","headImg":"http://47.95.5.235:8081/userfiles/1/files/hkMediaAdv/2018/03/18.png","name":"1","id":"2","coverImgSrc":"","title":"传统","type":"4","createDate":"2018-03-20"}]
         */

        private int totalRow;
        private int pageNumber;
        private boolean lastPage;
        private boolean firstPage;
        private int totalPage;
        private int pageSize;
        private List<ListBean> list;

        public int getTotalRow() {
            return totalRow;
        }

        public void setTotalRow(int totalRow) {
            this.totalRow = totalRow;
        }

        public int getPageNumber() {
            return pageNumber;
        }

        public void setPageNumber(int pageNumber) {
            this.pageNumber = pageNumber;
        }

        public boolean isLastPage() {
            return lastPage;
        }

        public void setLastPage(boolean lastPage) {
            this.lastPage = lastPage;
        }

        public boolean isFirstPage() {
            return firstPage;
        }

        public void setFirstPage(boolean firstPage) {
            this.firstPage = firstPage;
        }

        public int getTotalPage() {
            return totalPage;
        }

        public void setTotalPage(int totalPage) {
            this.totalPage = totalPage;
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public static class ListBean {
            /**
             * uid : 1
             * headImg : http://47.95.5.235:8081/userfiles/1/files/hkMediaAdv/2018/03/18.png
             * name : 1
             * id : 1
             * coverImgSrc : http://47.95.5.235:8081/userfiles/1/files/hkCityAdv/2018/03/54.png
             * title : 城市
             * type : 3
             * createDate : 2018-03-20
             */

            private String uid;
            private String headImg;
            private String name;
            private String id;
            private String coverImgSrc;
            private String title;
            private String type;
            private String createDate;

            public String getUid() {
                return uid;
            }

            public void setUid(String uid) {
                this.uid = uid;
            }

            public String getHeadImg() {
                return headImg;
            }

            public void setHeadImg(String headImg) {
                this.headImg = headImg;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getCoverImgSrc() {
                return coverImgSrc;
            }

            public void setCoverImgSrc(String coverImgSrc) {
                this.coverImgSrc = coverImgSrc;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public String getCreateDate() {
                return createDate;
            }

            public void setCreateDate(String createDate) {
                this.createDate = createDate;
            }
        }
    }
}
